package com.ibeeking.gmc.global.service.common.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;

/**
 * @ClassName TenantUserVO
 * @Description 租户用户
 * @Author ibeeking
 * @Date 2020-11-18 9:48
 **/
@Data
public class TenantUserVO implements Serializable {
    private static final long serialVersionUID = 1L;

    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;

    /**
     * 用户编码
     */
    private String userCode;

    /**
     * 用户姓名
     */
    private String name;

    /**
     * 用户头像
     */
    private String image;

    /**
     * 手机
     */
    private String mobile;

    /**
     * 电话
     */
    private String tel;

    /**
     * 邮箱
     */
    private String email;

    /**
     * 性别
     */
    private Integer sex;
    private Integer sexName;

    private String description;

    private String validityStartDate;
    private String validityEndDate;

    /**
     * 账号是否未过期，1-是，0-否
     */
    private Integer accountNonExpired;

    /**
     * 账号是否未被锁定，1-是，0-否
     */
    private Integer accountNonLocked;

    /**
     * 凭证是否未过期，1-是，0-否
     */
    private Integer credentialsNonExpired;

    /**
     * 账号是否未禁用，1-否，0-是
     */
    private Integer publishStatus;

}
